#include "junix.h"

int main(int argc, char **argv)
{
	char hname[100];
	if( gethostname(hname,100) )
	{
		perror("gethostname");
		exit(EXIT_FAILURE);
	}

	fprintf(stdout,"hostname: %s\n",hname);
	fflush(stdout);

	return 0;
}

